Windows store a list of subframes (frames) to track dependents.
Additionally:
Please refer to the communications overview for further information about document methods. The Window Inspector gives an excellent hands-on approach to understanding window structures. The JavaScript window hierarchy looks something like this: